public class producer_consumer{
    public static void main(String argv[]){
        common comm=new common();
        producer ptr1=new producer(comm);
        producer ptr2=new producer(comm);
        consumer ctr=new consumer(comm);
        
        ptr1.start();
        ptr2.start();
        ctr.start();
    }
}